<div class="left">
	<span class="titles">语言设置</span>
	<?php echo $form->create('UserLanguage',array('url'=>'','onSubmit'=>'return addUserLan(this);')) ?>
	语种：<?php echo $form->select('language_id', $lans, null,null) ?>
	程度：<?php echo $form->select('level_id', $levels, null, null) ?>
	<?php echo $form->hidden('user_id',array('value'=>$cuid)) ?>
	<?php echo $form->end('添加') ?>
	<ul id="user-lan-list">
		<?php foreach ($user_lans as $user_lan): ?>
			<li><?php echo $user_lan['Language']['name'] ?> :<?php echo $user_lan['Level']['name'] ?></li>
		<?php endforeach ?>
	</ul>
</div>